package com.sunday.aomicaichang.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by yun_sheng on 2017/6/13.
 */

public class Village implements Serializable{

    /**
     * children : [{"children":[{"name":"春和钱塘","id":1,"pyszm":"C"}],"name":"C","id":0,"pyszm":"C"},{"children":[{"name":"非北三苑1","id":2,"pyszm":"F"}],"name":"F","id":0,"pyszm":"F"}]
     * name : 杭州市
     * id : 0
     * pyszm : null
     */

    private String name;
    private int id;
    private Object pyszm;
    private List<ChildrenBeanX> children;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Object getPyszm() {
        return pyszm;
    }

    public void setPyszm(Object pyszm) {
        this.pyszm = pyszm;
    }

    public List<ChildrenBeanX> getChildren() {
        return children;
    }

    public void setChildren(List<ChildrenBeanX> children) {
        this.children = children;
    }

    public static class ChildrenBeanX implements Serializable{
        /**
         * children : [{"name":"春和钱塘","id":1,"pyszm":"C"}]
         * name : C
         * id : 0
         * pyszm : C
         */

        private String name;
        private int id;
        private String pyszm;
        private List<ChildrenBean> children;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getPyszm() {
            return pyszm;
        }

        public void setPyszm(String pyszm) {
            this.pyszm = pyszm;
        }

        public List<ChildrenBean> getChildren() {
            return children;
        }

        public void setChildren(List<ChildrenBean> children) {
            this.children = children;
        }

        public static class ChildrenBean implements Serializable{
            /**
             * name : 春和钱塘
             * id : 1
             * pyszm : C
             */

            private String name;
            private int id;
            private String pyszm;
            private String parentName;
            private String parentNames;

            public String getParentNames() {
                return parentNames;
            }

            public void setParentNames(String parentNames) {
                this.parentNames = parentNames;
            }

            public String getParentName() {
                return parentName;
            }

            public void setParentName(String parentName) {
                this.parentName = parentName;
            }

            public ChildrenBean() {
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getPyszm() {
                return pyszm;
            }

            public void setPyszm(String pyszm) {
                this.pyszm = pyszm;
            }
        }
    }
}
